﻿<!DOCTYPE html>
<html>
<head>
	<title>@ViewBag.Sub - @ViewBag.Master</title>
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/base.css")"/>
    <link rel="stylesheet" type="text/less" href="@Url.Content("~/Content/style.less")"/>
</head>
	<body>
		<div class="wrapper">
			<div id="header">
				<div class="rnav">
					<ul>
						<li>@Content.Link("加入我们")</li>
						<li>@Content.Link("联系我们")</li>
					</ul>
				</div>
				<div class="menu-bar fn-clear">
					<div class="logo">
						<a href="#"><img src="@Url.Content("~/Content/images/logo.png")"/></a>
					</div>
					<ul class="menu">
						@foreach(var item in ViewBag.MainMenu as List<string>)
						{
							if (item == "产品选购")
							{
								<li>@Content.Link(item, item == ViewBag.Master ? "now" : null) 
									<ul class="subMenuCPXG">
										@for(var i = 1;i<=3;i++){
										<li class="sub">
											<a href="#">
												@*<img src=""/>*@
												洗衣机
											</a>
										</li>}
									</ul>
								</li>
							}
							else
							{
								<li@(item == "营销互动" ? Html.Raw(" class=\"last\"") : Html.Raw(null))>@Content.Link(item, item == ViewBag.Master ? "now" : null)</li>
							}

						}
					</ul>
					<div class="searchBox">
						<input type="text" class="txt" value="Search"/>
						<input type="submit" class="btn" value="Go"/>
					</div>
				</div>
			</div>
			<div class="main-page fn-clear">
				<div class="main-left">
					<div class="site-path">
						您在这里：@Content.Link(ViewBag.Master) @(String.IsNullOrEmpty(ViewBag.Sub) ? null : Html.Raw("&gt; " + Content.Link(ViewBag.Sub)))
					</div>
					@Html.Partial("LeftMenu")
				</div>
				<div class="page">
					<h1 class="page-title">@ViewBag.MainPageTitle</h1>
					@RenderBody()
				</div>
                @if (ViewBag.DelRight == null || !ViewBag.DelRight)
				{
					<div class="main-right">
						<ul class="contact">
							<li class="r1">联系我们</li>
							<li class="last">全国服务热线：400-7000-2323</li>
						</ul>
						<div class="loginBox">
							<table>
								<tr>
									<th>用户名</th>
									<td><input type="text" class="txt"/></td>
								</tr>
								<tr>
									<th>密　码</th>
									<td><input type="text" class="txt"/></td>
								</tr>
								<tr>
									<th>&nbsp;</th>
									<td>
										<input type="submit" class="btn btnSubmit" value="登录"/>
										<input type="submit" class="btn btnReg" value="注册"/>
									</td>
								</tr>
							</table>
						</div>
					</div>
				}
			</div>
			<div id="footer">
				<p>&copy;奥特斯有限公司版权所有</p>
				<p>@Content.Link("条款及明细") | @Content.Link("隐私政策")</p>
                <p class="beian">Copyright2011 ALTUS ALL RIGHTS Resenced. 苏ICP备 1099998号</p>
			</div>
		</div>
		
        <script type="text/javascript" src="@Url.Content("~/Scripts/less-1.3.0.min.js")"></script>
	</body>
</html>
